#ifndef __INTERFACE_H__
#define __INTERFACE_H__

#define GPR rootp->top__DOT__inst_core__DOT__inst_toy_cpu__DOT__inst_Decode__DOT__inst_RegisterFile__DOT__rf.m_storage
#define info(cache,info) concat4(rootp->top__DOT__inst_core__DOT__inst_,cache,__DOT__r,info)
#define Hazards_busy rootp->top__DOT__inst_core__DOT__inst_toy_cpu__DOT__inst_Hazards_ctrl__DOT__busy
#define mul_unit_ready rootp->top__DOT__inst_core__DOT__inst_toy_cpu__DOT__mul_ready
#define div_unit_ready rootp->top__DOT__inst_core__DOT__inst_toy_cpu__DOT__div_ready

#define icache_hit0  info(icache,hit0)
#define icache_hit1  info(icache,hit1)
#define icache_miss0 info(icache,miss0)
#define icache_miss1 info(icache,miss1)
#define dcache_hit0  info(dcache,hit0)
#define dcache_hit1  info(dcache,hit1)
#define dcache_miss0 info(dcache,miss0)
#define dcache_miss1 info(dcache,miss1)


#endif